import './App.css';
import indexRouter from './routes'
import {useRoutes} from 'react-router-dom'

function App() {
  const elementRoute = useRoutes(indexRouter)

  return (
    <div className="App">
        {elementRoute}
    </div>
  );
}

export default App;
